<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>float元素的位置</title>
    <style>
        p {
            width: 90%;
            border: 1px solid red;
        }
        #s1 {
            float: right;
            background-color: red;
        }
        #s2 {
            float: left;
            background-color: red;
        }
    </style>
</head>
<body>
    <p>发阿斯兰的飞机喀<span id="s1">我是浮动元素1</span>什的发生安身的地方收到答复的发生士大夫卡萨丁方法拉萨的咖啡机阿三发射点啊手动阀啊手动阀就受到法律发射点发<span id="s2">我是浮动元素2</span>就阿三地方了凯撒的房间啊手动阀啊手动阀卡死了对方啊手动阀就</p>
</body>
</html>